# coding:utf-8
"""
@author: jing
@contact: 529548204@qq.com
@file: urls.py
@time: 2022/5/24 16:56
"""
from django.conf.urls import include
from django.urls import path
from . import views

app_name = "urls"
urlpatterns = [
    path(r'', views.UrlViews.as_view({
        "post": "newurls",
        "get": "urlslist"
    })),
    path(r'<int:pk>/', views.UrlViews.as_view({
        "put": "editurls",
        "delete": "delurls"
    })),
]
